<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <link rel="stylesheet" href="css/styles.css">
  <title>To-Do List</title>
</head>
<body>
  <div class="container">
    <h2>To-Do List</h2>
    <form id="addTodoForm">
      <input type="text" id="newTodo" placeholder="添加一个待办事项" required>
      <button type="submit">添加</button>
    </form>
    <ul id="todoList" style="border:1px solid black;height:auto;"></ul>
    <button id="clearAllButton" style="margin-top: 10px;">Clear All</button>
  </div>
  
  <script src="js/main.js"></script>
</body>
</html>


